//
//  ZhuoZiList.h
//  HallView
//
//  Created by Lv Changye on 11-7-21.
//  Copyright 2011年 139me. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
#import "AppDelegate.h"

@interface ZhuoZiList : UIViewController <UITableViewDataSource,UITableViewDelegate>{
    UITableView *zhuolist;
	
	SocketEngine * socketLogin;
	LoginEventListener * eventLogin;
    RoomList roomlist;
    
}
-(IBAction)wanjiaPaiXu;
-(IBAction)suduPaiXu;

@property RoomList roomlist;
@end

CG_INLINE NSString *
NewRoomListString(RoomList rl,int j)
{
	if (j>= rl.num) {
		return nil;
	}
	return [NSString stringWithFormat:@"$%lld/%lld       $%lld/%lld          $1.8万             %d/%d               普通",
			rl.room[j].smallblind, 2*rl.room[j].smallblind,rl.room[j].ante,2 * rl.room[j].ante,rl.room[j].playerCount,rl.room[j].maxPlayer];
}